﻿
IF  EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[sproc_BBS_GetAllBoardMember]') AND type in (N'P', N'PC'))
    DROP PROCEDURE [dbo].[sproc_BBS_GetAllBoardMember];
GO
CREATE PROCEDURE [dbo].[sproc_BBS_GetAllBoardMember]

AS

    SELECT uds_staff.staff_id,staff_name,board_id,realname FROM uds_bbs_boardmember,uds_staff WHERE uds_bbs_boardmember.staff_id=uds_staff.staff_id